* {
    box-sizing: border-box;
    outline: none;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

#wplc_admin_chat_holder {
    display: flex;
    flex-direction: column;
    height: 89vh;
}

#wplc_admin_chat_info_new {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 3em 0 0.5em 3em;
}

#wplc_chat_list {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    overflow: hidden;
    height: 100%;
    width: 450px;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    box-shadow: 1px 0px 0px #efefef;
    z-index: 5;
}

#inactive_chat_box {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
}

#wplc_chat_enable,
#wplc_chat_disable {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.wplc_sidebar_title{
    font-size:15px;
}
#chat_sidebar_wrapper {
    margin-bottom: 10px;
}

#chat_sidebar_wrapper p{
    margin-bottom: 0px;
}

#chat_sidebar_wrapper hr{
    margin-top: 5px;
}

#wplc_chat_disable img {
    width: 4em;
}

#wplc_bh_offline,
#wplc_agent_offline,
#wplc_no_chat {
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
    line-height: 1.5em;
    display: none;
}
#inactive_message{
    margin-left:15px;
}

#active_chat_box_wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#active_chat_box {
    height: 100%;
    display: none;
    flex-direction: row;
    flex-grow: 1;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    overflow: hidden;
}

#wplc_chat_panel {
    border-radius: 25px;
    height: 100%;
    display: flex;
    flex-direction: row;
}

#wplc_agent_chat {
    flex-grow: 1;
}


#wplc_guest_typing {
    display: flex;
    align-self: flex-end;
    margin-right: 10px;
    margin-bottom: 5px;
    color: #128ED4;
}

#wplc_sidebar_box_body,
#chat_list_body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100px;
}

#chat_list_head,
#wplc_sidebar_box_head
{
    background: rgb(8, 149, 211);
    background: linear-gradient(90deg, rgba(8, 149, 211, 1) 0%, rgba(44, 129, 211, 1) 100%);
    height: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#chat_list_head_row,
#wplc_sidebar_box_head_row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

#chat_list_head_row .chat_list_head_row_element,
#wplc_sidebar_box_head_row .wplc_sidebar_box_head_row_element {
    padding: 10px;
    margin-top: 1rem;
    white-space: nowrap;
    color: white;
    font-size: 18px;
}



#chat_list_head_row .chat_list_head_row_element {
    padding-left: 30px;
}

#chat_box_head {
    background-color: #ffffff;
    height: 70px;
    display: flex;
    flex-direction: row;
    padding: 10px;
}


#chat_box_body {
    background-color: #F5F6FA;
    margin-top: 5px;
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;
    overflow-y: auto;
    height: 100px;
}

#wplc_sidebar_box_body{
    justify-content: flex-start;
    padding: 10px;
    min-width: 250px;
}

#chat_box_body {
    justify-content: flex-end;
}

#wplc_sidebar {
    display: none;
    flex-direction: column;
    width: 0px;
    min-width: 0px;
    max-width: 250px;
}

.wplc_dd_transparent {
    color: #ffffff !important;
}

#wplc_chat_actions {
    display: flex;
    background-color: #ffffff;
    flex-direction: row;
    justify-content: flex-start;
    padding-bottom: 1px;
}

.input_msg_write {
    position: relative;
}

.input_msg_write input {
    background-color: #FFFFFF;
    border: medium none;
    color: #4c4c4c;
    font-size: 15px;
    min-height: 48px;
    width: 100%;

}

/*===*/

.wplc_on_premise_chat_window_header {
    display: flex;
    margin-bottom: 5px;
}

#wplc_avatar_header {
    margin-right: 10px;
}

#wplc_avatar_header {
    margin-right: 10px;
}


#wplc_avatar_user {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.recent_heading {
    float: left;
    width: 40%;
}

.recent_heading h4 {
    color: #05728f;
    font-size: 21px;
    margin: auto;
}

.end_chat_div {
    font-size: 10px;
    margin-left: auto !important;
    padding: 8px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.msg_history {
    background-color: #F5F6FA;
    padding: 5px 15px 0 25px;
    overflow-y: auto;
}

.wplc_chat_action_button {
    background: white;
    border: none;
    color: #128ED4;
    font-size: 17px !important;
    padding-right: 10px;
    padding-left: 10px;
}

.wplc_chat_action_button:active,
.wplc_chat_action_button:focus,
.wplc_chat_action_button:focus:active {
    background-image: none;
    outline: 0 !important;
    box-shadow: none;
}

#quick_resp_btn {
    height: 100%;
    padding-left: 20px !important;
}

.wplc_admin_close_chat {
    color: #128ED4;
    font-size: 15px;
    margin-top: 5px;
}

.wplc_chat_info_menu {
    color: #128ED4;
    font-size: 18px;
    margin-left: 15px;
    margin-top: 4px;
}

.wplc_chat_info_menu:focus {
    outline: none;
    box-shadow: none;
}

.wplc_sidebar_info_row{
    margin-bottom: 10px;
}

#wplc_cf_name{
    margin-bottom:5px;
}

.wplc_sidebar_element_label{
    font-weight: bold;
}

.wplc_sidebar_element_value{
    font-size:15px;
}

.wplc_p_cul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

.chat_img {
    padding-right: 15px;
    position:relative;
}

.chat_img img {
    border-radius: 50%;
    width: 48px;
}

.chat_ib {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}


.status_dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    bottom: 3px;
    right: 15px;
    border: 1px solid white;
    position: absolute;
}

.status_dot.pending {
    background-color: #CC8300;
}

.status_dot.active {
    background-color: #3278CD;
}

.status_dot.chatting {
    background-color: green;
}

.status_dot.ended {
    background-color: red;
}

.status_dot.minimized {
    background-color: grey;
}

.status_dot.default {
    background-color: transparent;
}

.chat_visitor_info_first_line {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.chat_visitor_name {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem !important;
    line-height: 1.5 !important;
}

.chat_list.active_chat {
    box-shadow: 5px 5px 5px #888888;
    background-color: #F5F6FA;
    margin-right: -5px;
}

.incoming_msg {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 8px 0 8px;
}

.incoming_msg_img {
    align-self: flex-start;
    margin-top: 8px;
}

.incoming_msg_img > img {
    border-radius: 50%;
    width: 48px;
}

.received_msg {
    display: inline-block;
    padding: 0 0 0 10px;
    vertical-align: top;
    max-width: 600px;
    flex-grow: 1;
}

.wplc_msg_container {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

.wplc_msg_container img.emoji {
    width: auto !important;
    height: auto !important;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}

.received_withd_msg {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 10px;
    color: #646464;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    position: relative;
}

.received_withd_msg .wplc_msg_container::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: -7px;
    top: 18px;
    border-top: 8px solid transparent;
    border-right: 8px solid #ffffff;
    border-bottom: 8px solid transparent;
}


.outgoing_msg {
    overflow: hidden;
    margin: 8px 0 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.sent_msg {
    float: right;
    background: rgb(8, 149, 211);
    background: linear-gradient(90deg, rgba(8, 149, 211, 1) 0%, rgba(44, 129, 211, 1) 100%);
    border-radius: 10px;
    font-size: 14px;
    margin-right: 10px;
    color: #fff;
    padding: 5px 10px 5px 12px;
    width: 57%;
    max-width: 600px;
    position: relative;
    margin-top: 6px;
}

.sent_msg .wplc_msg_container a {
    color: #ffffff;
    text-decoration: underline;
}

.sent_msg .wplc_msg_container::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    right: -8px;
    top: 18px;
    border-top: 8px solid transparent;
    border-left: 8px solid rgba(44, 129, 210, 1);
    border-bottom: 8px solid transparent;
}

.sent_msg .time_date {
    color: #ffffff;
}

#wplc_message_count {
    font-size: 10px;
    vertical-align: middle;
}

#wplc_join_chat {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
    background-color: #ffffff;
}

#wplc_admin_send_msg {
    width: 115px;
    font-size: 15px;
    background: rgb(8, 149, 211);
    background: linear-gradient(90deg, rgba(8, 149, 211, 1) 0%, rgba(44, 129, 211, 1) 100%);
    color: #ffffff;
    margin: 6px;
    margin-right: 15px;
    border-radius: 10px;
}

#wplc_admin_send_msg img {
    height: 20px;
}

#wplc_admin_join_chat {
    background: rgb(8, 149, 211);
    background: linear-gradient(90deg, rgba(8, 149, 211, 1) 0%, rgba(44, 129, 211, 1) 100%);
    color: #ffffff;
}

.emojiPicker {
    top: -380px !important;
    left: -65px !important;
}

.emojiPickerIconWrap {
    position: inherit;
}

.emojiPickerIcon {
    top: 11px;
    right: -27px;
}

#wplc_migration_notice {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.7;
}

